import 'package:get/get.dart';
import 'package:test1/test14/ATest14Page.dart';
import 'package:test1/test2/ATest2Page.dart';
import 'package:test1/test6/ATest6Page.dart';
import 'package:test1/xykk/demo/step/StepDemo.dart';
import '../main.dart';
import '../test11/ATest11Page.dart';
import '../test11/Test_File_io.dart';
import '../test11/Test_dio.dart';
import '../test13/ATest13Page.dart';
import '../test14/Test_Element.dart';
import '../test2/Test_Exception.dart';
import '../test2/Test_RenderObject.dart';
import '../test2/Test_state_Manager.dart';
import '../test2/Test_state_lifecycle.dart';
import '../test3/ATest3Page.dart';
import '../test3/Test_Button.dart';
import '../test3/Test_Image.dart';
import '../test3/Test_Indicator.dart';
import '../test3/Test_Input.dart';
import '../test3/Test_Radio.dart';
import '../test3/Test_Text.dart';
import '../test4/ATest4Page.dart';
import '../test4/Test_AfterLayout.dart';
import '../test4/Test_Align.dart';
import '../test4/Test_LayoutBuilderPage.dart';
import '../test4/Test_Stack.dart';
import '../test4/Test_constrains.dart';
import '../test4/Test_flex.dart';
import '../test4/Test_flow.dart';
import '../test4/Test_layer.dart';
import '../test4/Test_lined.dart';
import '../test4/UnconstrainedBoxPage.dart';
import '../test5/ATest5Page.dart';
import '../test5/Test_Clip.dart';
import '../test5/Test_Container.dart';
import '../test5/Test_DecoratedBox.dart';
import '../test5/Test_FittedBox.dart';
import '../test5/Test_Padding.dart';
import '../test5/Test_Transform.dart';
import '../test6/SingleChildScrollViewTestRoute.dart';
import '../test6/Test_CustomScrollViewPage.dart';
import '../test6/test_listview/Test_FixedExtentList.dart';
import '../test6/test_listview/Test_ListView.dart';
import '../test5/Test_Scaffold.dart';
import '../test6/Test_Scrollable.dart';
import '../test6/test_listview/Test_listview_builder.dart';
import '../test6/test_listview/Test_listview_separated.dart';
import '../test6/test_listview/test_list_example.dart';
import '../test6/test_pageview/test_pageview.dart';
import '../test6/test_sliver/Test_SliverAnimatedList.dart';
import '../test6/test_sliver/Test_SliverFillViewport.dart';
import '../test6/test_sliver/Test_SliverFixedExtentList.dart';
import '../test6/test_sliver/Test_SliverGrid.dart';
import '../test6/test_sliver/Test_SliverList.dart';
import '../test7/ATest7Page.dart';
import '../test7/Test_FutureBuilder.dart';
import '../test7/Test_InheritedWidget.dart';
import '../test7/Test_ValueListenableBuilder.dart';
import '../test7/Test_WillPopScope.dart';
import '../test7/Test_dialog/ATest7Page.dart';
import '../test7/Test_streamBuilder.dart';
import '../test7/Test_theme.dart';
import '../test8/ATest8Page.dart';
import '../test8/Test_EventBus.dart';
import '../test8/Test_GestureDetector.dart';
import '../test8/Test_Listener.dart';
import '../test8/notification/Test_Notification.dart';
import '../test8/Test_pointer.dart';
import '../test8/notification/Test_customNotification.dart';
import '../test9/ATest9Page.dart';
import '../test9/Animated/AnimatedAlignPage.dart';
import '../test9/Animated/AnimatedContainerPage.dart';
import '../test9/Animated/AnimatedOpacityPage.dart';
import '../test9/Animated/AnimatedPaddingPage.dart';
import '../test9/Animated/AnimatedPositionedPage.dart';
import '../test9/Animated/AnimatedSwitcherPage.dart';
import '../test9/Animated/AnimatedThemePage.dart';
import '../test9/Animated/SliverAnimatedOpacityPage.dart';
import '../test9/Test_1.dart';
import '../test9/Test_RoutePage_animatial.dart';
import '../test9/Test_hero.dart';
import '../test_dart/test_completer.dart';
import '../test_getx/ATestGetxPage.dart';
import '../test_getx/Test_Getx_storage/test_Getx_storage.dart';
import '../test_getx/Test_PercentSized/Test_PercentSized.dart';
import '../test_getx/Test_dependence_manager/Test_controller.dart';
import '../test_getx/Test_rx_worker/test_rx_worker_page.dart';
import '../test_getx/Test_status/Test_class_status.dart';
import '../test_getx/Test_status/Test_status.dart';
import '../test_getx/Test_theme_textTheme/Test_theme_textThemePage.dart';
import '../test_getx/test_context/test_context_widget.dart';
import '../test_getx/test_dialog/Test_dialog.dart';
import '../test_getx/test_lifeCycle/test_getx_lifecycle/ShopBinding.dart';
import '../test_getx/test_lifeCycle/test_getx_lifecycle/ShopPage.dart';
import '../test_getx/test_route/test_get_route/ATestGetxRoutePage.dart';
import '../test_getx/test_route/test_get_route/PageA.dart';
import '../test_getx/test_route/test_get_route/PageB.dart';
import '../test_intl/test_intlPage.dart';
import '../testflutter/ATestFlutterPage.dart';
import '../testflutter/testChangeNotify.dart';
import '../testflutter/testValueNotify.dart';
import '../testflutter/test_key/MyRebuildWidget.dart';
import '../testflutter/test_key/NoKeyDemo.dart';

import '../xykk/app_doorbell_set/app_doorbell_set_conf.dart';
import '../xykk/demo/ADemoPage.dart';
import '../xykk/demo/DatePickerDemo/DatePickerPage.dart';
import '../xykk/demo/TimePickerDemo/TimePickerDemo.dart';
import '../xykk/demo/customCanvas/CustomCanvas.dart';
import '../xykk/demo/dialog/IOSAlertDialogController.dart';
import '../xykk/demo/joystick/JoystickPage.dart';
import '../xykk/demo/joystick/test.dart';
import '../xykk/demo/sentitivity/SensitivityPage.dart';
import '../xykk/demo/slider/VolumeSliderPage.dart';
import '../xykk/home/home_conf.dart';
import '../xykk/login/login_conf.dart';
import '../xykk/mine/mine_conf.dart';
import '../xykk/xykk.dart';

var Routes = [
  GetPage(name: "/", page: () => MyApp()),
  // --------------------
  GetPage(name: "/ATest2Page", page: () => ATest2Page()),
  GetPage(name: "/ATest2Page/Test_Exception", page: () => Test_Exception()),
  GetPage(name: "/ATest2Page/Test_RenderObject", page: () => Test_RenderObject()),
  GetPage(name: "/ATest2Page/Test_state_lifecycle", page: () => Test_state_lifecycle()),
  GetPage(name: "/ATest2Page/Test_state", page: () => Test_state_Manager()),
  // --------------------
  GetPage(name: "/ATest3Page", page: () => ATest3Page()),
  GetPage(name: "/ATest3Page/Test_Text", page: () => const Test_Text()),
  GetPage(name: "/ATest3Page/Test_Button", page: () =>  Test_Button()),
  GetPage(name: "/ATest3Page/Test_Image", page: () => const Test_Image()),
  GetPage(
      name: "/ATest3Page/Test_Indicator", page: () => const Test_Indicator()),
  GetPage(name: "/ATest3Page/Test_Input", page: () => const Test_Input()),
  GetPage(name: "/ATest3Page/Test_Radio", page: () => const Test_Radio()),
  // --------------------
  GetPage(name: "/ATest4Page", page: () => ATest4Page()),
  GetPage(name: "/ATest4Page/Test_Align", page: () => const Test_Align()),
  GetPage(name: "/ATest4Page/Test_Stack", page: () => const Test_Stack()),
  GetPage(
      name: "/ATest4Page/Test_constrains", page: () => const Test_constrains()),
  GetPage(name: "/ATest4Page/Test_flex", page: () => const Test_flex()),
  GetPage(name: "/ATest4Page/Test_flow", page: () => const Test_flow()),
  GetPage(name: "/ATest4Page/Test_layer", page: () => const Test_layer()),
  GetPage(name: "/ATest4Page/Test_lined", page: () => const Test_lined()),
  GetPage(name: "/ATest4Page/Test_LayoutBuilder", page: () =>  Test_LayoutBuilderPage()),
  GetPage(name: "/ATest4Page/Test_AfterLayout", page: () =>  Test_AfterLayout()),
  GetPage(name: "/ATest4Page/UnconstrainedBoxPage", page: () =>  UnconstrainedBoxPage()),


  // --------------------
  GetPage(name: "/ATest5Page", page: () => ATest5Page()),
  GetPage(name: "/ATest5Page/Test_Clip", page: () => const Test_Clip()),
  GetPage(
      name: "/ATest5Page/Test_Container", page: () => const Test_Container()),
  GetPage(
      name: "/ATest5Page/Test_DecoratedBox",
      page: () => const Test_DecoratedBox()),
  GetPage(
      name: "/ATest5Page/Test_FittedBox", page: () => const Test_FittedBox()),
  GetPage(name: "/ATest5Page/Test_Padding", page: () => const Test_Padding()),
  GetPage(name: "/ATest5Page/Test_Scaffold", page: () => const Test_Scaffold()),
  GetPage(
      name: "/ATest5Page/Test_Transform", page: () => const Test_Transform()),

//--------------------
  GetPage(name: "/ATest6Page", page: () => ATest6Page()),
  GetPage(name: "/ATest6Page/test_listview/Test_Listview", page: () => const Test_Listview()),
  GetPage(name: "/ATest6Page/test_listview/FixedExtentList", page: () => const FixedExtentList()),
  GetPage(name: "/ATest6Page/test_listview/InfiniteListView", page: () =>  InfiniteListView()),
  GetPage(name: "/ATest6Page/test_listview/Test_listview_separated", page: () =>  Test_listview_separated()),
  GetPage(name: "/ATest6Page/test_listview/Test_listview_builder", page: () =>  const Test_listview_builder()),
  GetPage(name: "/ATest6Page/Test_CustomScrollViewPage", page: () => const Test_CustomScrollViewPage()),
  GetPage(name: "/ATest6Page/test_sliver/Test_SliverList", page: () => const Test_SliverList()),
  GetPage(name: "/ATest6Page/test_sliver/Test_SliverAnimatedList", page: () =>  Test_SliverAnimatedList()),
  GetPage(name: "/ATest6Page/test_sliver/Test_SliverFixedExtentList", page: () => const Test_SliverFixedExtentList()),
  GetPage(name: "/ATest6Page/test_sliver/Test_SliverFillViewport", page: () => const Test_SliverFillViewport()),
  GetPage(name: "/ATest6Page/test_sliver/Test_SliverGrid", page: () => const Test_SliverGrid()),
  GetPage(name: "/ATest6Page/test_pageview/test_pageview", page: () => test_pageview() ),
  GetPage(name: "/ATest6Page/Test_Scrollable", page: () => Test_Scrollable() ),
  GetPage(
      name: "/ATest6Page/Test_SingleChildScrollViewTestRoute",
      page: () => SingleChildScrollViewTestRoute()),
//--------------------
  GetPage(name: "/ATest7Page", page: () => ATest7Page()),
  GetPage(
      name: "/ATest7Page/Test_WillPopScope", page: () => Test_WillPopScope()),
  GetPage(
      name: "/ATest7Page/Test_InheritedWidget",
      page: () => const Test_InheritedWidget()),
  GetPage(
      name: "/ATest7Page/ValueListenableRoute",
      page: () => const ValueListenableRoute()),
  GetPage(
      name: "/ATest7Page/Test_FutureBuilder",
      page: () => const Test_FutureBuilder()),
  GetPage(
      name: "/ATest7Page/Test_streamBuilder",
      page: () => const Test_streamBuilder()),
  GetPage(name: "/ATest7Page/ATestDialogPage", page: () => ATestDialogPage()),
  GetPage(name: "/ATest7Page/ATestDialogPage/", page: () => ATestDialogPage()),
  GetPage(name: "/ATest7Page/Test_theme/", page: () => ThemeTestRoute()),
  //----------------------
  GetPage(name: "/ATest8Page", page: () => ATest8Page()),
  GetPage(name: "/ATest8Page/Test_pointer", page: () => Test_pointer()),
  GetPage(name: "/ATest8Page/Test_Listener", page: () => Test_Listener()),
  GetPage(name: "/ATest8Page/Test_GestureDetector", page: () => Test_GestureDetector()),
  GetPage(name: "/ATest8Page/Test_EventBus", page: () => Test_EventBus()),
  GetPage(name: "/ATest8Page/notification/Test_Notification", page: () => Test_Notification()),
  GetPage(name: "/ATest8Page/notification/Test_customNotification", page: () => Test_customNotification()),
  // ----------------------------------------动画-------------------------------------
  GetPage(name: "/ATest9Page", page: () => ATest9Page()),
  GetPage(name: "/ATest9Page/Test_1", page: () => Test_1()),
  GetPage(name: "/ATest9Page/Test_RoutePage_animatial", page: () => Test_RoutePage_animatial()),
  GetPage(name: "/ATest9Page/Test_hero", page: () => Test_hero()),
  GetPage(name: "/ATest9Page/AnimatedContainerPage", page: () => AnimatedContainerPage()),
  GetPage(name: "/ATest9Page/AnimatedOpacityPage", page: () => AnimatedOpacityPage()),
  GetPage(name: "/ATest9Page/AnimatedAlignPage", page: () => AnimatedAlignPage()),
  GetPage(name: "/ATest9Page/AnimatedPositionedPage", page: () => AnimatedPositionedPage()),
  GetPage(name: "/ATest9Page/AnimatedSwitcherPage", page: () =>  AnimatedSwitcherPage()),
  GetPage(name: "/ATest9Page/AnimatedPaddingPage", page: () =>  AnimatedPaddingPage()),
  GetPage(name: "/ATest9Page/AnimatedThemePage", page: () =>  AnimatedThemePage()),
  GetPage(name: "/ATest9Page/SliverAnimatedOpacityPage", page: () =>  SliverAnimatedOpacityPage()),
  //----------------------
  GetPage(name: "/ATest11Page", page: () => ATest11Page()),
  GetPage(name: "/ATest11Page/Test_File_io", page: () => Test_File_io()),
  GetPage(name: "/ATest11Page/Test_dio", page: () => Test_dio()),

  GetPage(name: "/ATest13Page", page: () => ATest13Page()),


  // -------------------------------------------------14------------------------------------------------
  GetPage(name: "/ATest14Page", page: () => ATest14Page()),
  GetPage(name: "/ATest14Page/Test_Element", page: () => Test_Element()),

  GetPage(name: "/ATestGetxPage", page: () => ATestGetxPage()),
  GetPage(name: "/ATestGetxPage/Test_dialog", page: () => Test_dialog()),
  GetPage(name: "/ATestGetxPage/Test_status", page: () => Test_status()),
  GetPage(
      name: "/ATestGetxPage/Test_class_status",
      page: () => Test_class_status()),
  GetPage(
      name: "/ATestGetxPage/Test_controller", page: () => Test_controller()),
  GetPage(
      name: "/ATestGetxPage/ShopPage",
      page: () => ShopPage(),
      binding: ShopBinding()),
  GetPage(
      name: "/ATestGetxPage/TestContextPage",
      page: () => TestContextPage(),
      binding: ShopBinding()),

  GetPage(
      name: "/ATestGetxPage/ATestGetxRoutePage", page: () => ATestGetxRoutePage()),
  GetPage(
      name: "/ATestGetxPage/ATestGetxRoutePage/PageA", page: () => PageA()),
  GetPage(
      name: "/ATestGetxPage/ATestGetxRoutePage/PageB", page: () => PageB()),
  GetPage(
      name: "/ATestGetxPage/Test_PercentSized", page: () => Test_PercentSized()),
  GetPage(
      name: "/ATestGetxPage/test_Getx_storage", page: () => test_Getx_storage()),
  GetPage(
      name: "/ATestGetxPage/test_rx_worker_page", page: () => test_rx_worker_page()),

  GetPage(
      name: "/ATestGetxPage/Test_theme_textThemePage", page: () => Test_theme_textThemePage()),

  // ---------------------------------ATestFlutterPage--------------------------------------
  GetPage(name: "/ATestFlutterPage", page: () => ATestFlutterPage()),
  GetPage(
      name: "/ATestFlutterPage/CounterNotifierStatefulWidget",
      page: () => CounterNotifierStatefulWidget()),
  GetPage(
      name: "/ATestFlutterPage/ValueNotifierStatefulWidget",
      page: () => ValueNotifierStatefulWidget()),
  GetPage(
      name: "/ATestFlutterPage/test_key/Test_V_U_key",
      page: () => Test_V_U_key()),
  // GetPage(
  //     name: "/ATestFlutterPage/test_key/Test_key1",
  //     page: () => Test_key1()),
  GetPage(
      name: "/ATestFlutterPage/test_key/NoKeyDemo",
      page: () => NoKeyDemo(title: '测试NoKeyDemo',)),
  // ----------------------------test_dart---------------------------------------
  GetPage(name: "/ATestDartPage/CompleterDemoPage", page: () => const CompleterDemoPage()),
  // -------------------------------------------------
  GetPage(name: "/test_intlPage", page: () => const test_intlPage()),



  // ----------------------------xykk-----------------
  GetPage(
      name: "/xykk", page: () => xykk()),
  GetPage(
      name: "/xykk/ADemoPage", page: () => ADemoPage()),
  GetPage(
      name: "/xykk/demo/ADemoPage/joystick", page: () => JoystickController()),

  // ---------------------JoystickPage----------------------------
  GetPage(name: "/xykk/demo/JoystickPage", page: () => const JoystickPage()),
  GetPage(name: "/xykk/demo/SleepDialogPage", page: () =>  SleepDialogPage()),
  GetPage(name: "/xykk/demo/SensitivityPage", page: () =>  SensitivityPage()),
  GetPage(name: "/xykk/demo/GuidePage", page: () =>  GuidePage()),
  GetPage(name: "/xykk/demo/CustomCanvas", page: () =>  CustomCanvas()),
  GetPage(name: "/xykk/demo/DatePickerPage", page: () =>  DatePickerPage()),
  GetPage(name: "/xykk/demo/TimePickerDemo", page: () =>  TimePickerDemo()),
  GetPage(name: "/xykk/demo/VolumeSliderPage", page: () =>  VolumeSliderPage()),
  // GetPage(
  //     name: "/test_plugin_page", page: () => test_plugin_page()),
  LoginConf.getPage,
  HomeConf.getPage,
  MineConf.getPage,
  app_doorbell_setConf.getPage,
];
